# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=ttf-inconsolata
pkgver=2.001
_gitref=efcbdc5d93ada0d4f9fa83389aba7cdbc797606f
pkgrel=0
pkgdesc="Inconsolata fonts"
url="https://www.google.com/fonts/specimen/Inconsolata"
license="OFL"
arch="noarch"
options="!check" # no test suite
source="Inconsolata-Regular.ttf+$_gitref::https://github.com/google/fonts/raw/$_gitref/ofl/inconsolata/Inconsolata-Regular.ttf
	Inconsolata-Bold.ttf+$_gitref::https://github.com/google/fonts/raw/$_gitref/ofl/inconsolata/Inconsolata-Bold.ttf"

package() {
	cd "$srcdir"

	local file; for file in *.ttf+*; do
		install -m 644 -D "$file" \
			"$pkgdir"/usr/share/fonts/truetype/inconsolata/"${file%%+*}"
	done
}

sha512sums="66fee61dc4c0331ef383b9d5bdf5e52ef0503e1a8fe60e23a4749110c744a32335e5421b8ca55d1a65e13a728fd464c05bb7ba65cbc82269b2fa678fc21eaba3  Inconsolata-Regular.ttf+efcbdc5d93ada0d4f9fa83389aba7cdbc797606f
4cecd19b4a0fdefdafd7649f71f37bb3c77afe6be69edd16231fc5081b9b4c6ec57a00bfecebfcec5e8d2d27cc4ce7749ca1bdefdd31506f6e03f4f1ff474abc  Inconsolata-Bold.ttf+efcbdc5d93ada0d4f9fa83389aba7cdbc797606f"
